<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tShebzt-edit" th:object="${tShebzt}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备编号：</label>
				<div class="col-sm-8">
					<input id="shebbh" name="shebbh" th:field="*{shebbh}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备名称：</label>
				<div class="col-sm-8">
					<input id="shebmc" name="shebmc" th:field="*{shebmc}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备型号：</label>
				<div class="col-sm-8">
					<input id="shebxh" name="shebxh" th:field="*{shebxh}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备状态：</label>
				<div class="col-sm-8">
					<input id="shebzt" name="shebzt" th:field="*{shebzt}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备故障代码：</label>
				<div class="col-sm-8">
					<input id="shebgzdm" name="shebgzdm" th:field="*{shebgzdm}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">故障代码描述：</label>
				<div class="col-sm-8">
					<input id="shebgzdmms" name="shebgzdmms" th:field="*{shebgzdmms}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备当前任务（工单）：</label>
				<div class="col-sm-8">
					<input id="shebdqgd" name="shebdqgd" th:field="*{shebdqgd}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备当前工作内容：</label>
				<div class="col-sm-8">
					<input id="shebdqgznr" name="shebdqgznr" th:field="*{shebdqgznr}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备责任人编号：</label>
				<div class="col-sm-8">
					<input id="userno" name="userno" th:field="*{userno}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备责任人名称：</label>
				<div class="col-sm-8">
					<input id="username" name="username" th:field="*{username}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位编号：</label>
				<div class="col-sm-8">
					<input id="workstationCode" name="workstationCode" th:field="*{workstationCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备规格：</label>
				<div class="col-sm-8">
					<input id="specification" name="specification" th:field="*{specification}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">生产厂家：</label>
				<div class="col-sm-8">
					<input id="vender" name="vender" th:field="*{vender}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/tShebzt";
		$("#form-tShebzt-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-tShebzt-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
